/**
 * 
 */
package design_pattern.visitor;

/**
 * @author linzq
 *
 */
public class NodeB extends Node {


  @Override
  void accept(Visitor visitor) {
    visitor.visit(this);
  }

  public String operationB() {
    return "NodeB is visited";
  }

}
